Optimal. Leaf size=84 \[ \frac{b^2 \tanh ^{-1}\left (\frac{\sqrt{a+b x^n}}{\sqrt{a}}\right )}{4 a^{3/2} n}-\frac{x^{-2 n} \sqrt{a+b x^n}}{2 n}-\frac{b x^{-n} \sqrt{a+b x^n}}{4 a n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.11252, antiderivative size = 84, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.263 \[ \frac{b^2 \tanh ^{-1}\left (\frac{\sqrt{a+b x^n}}{\sqrt{a}}\right )}{4 a^{3/2} n}-\frac{x^{-2 n} \sqrt{a+b x^n}}{2 n}-\frac{b x^{-n} \sqrt{a+b x^n}}{4 a n} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 - 2*n)*Sqrt[a + b*x^n],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.5432, size = 66, normalized size = 0.79 \[ - \frac{x^{- 2 n} \sqrt{a + b x^{n}}}{2 n} - \frac{b x^{- n} \sqrt{a + b x^{n}}}{4 a n} + \frac{b^{2} \operatorname{atanh}{\left (\frac{\sqrt{a + b x^{n}}}{\sqrt{a}} \right )}}{4 a^{\frac{3}{2}} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1-2*n)*(a+b*x**n)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.114894, size = 83, normalized size = 0.99 \[ \frac{b^2 \log \left (x^{-n} \left (2 \sqrt{a} \sqrt{a+b x^n}+2 a+b x^n\right )\right )-2 \sqrt{a} x^{-2 n} \sqrt{a+b x^n} \left (2 a+b x^n\right )}{8 a^{3/2} n} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 - 2*n)*Sqrt[a + b*x^n],x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.066, size = 0, normalized size = 0. \[ \int{x}^{-1-2\,n}\sqrt{a+b{x}^{n}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1-2*n)*(a+b*x^n)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.230974, size = 1, normalized size = 0.01 \[ \left [\frac{b^{2} x^{2 \, n} \log \left (\frac{\sqrt{a} b x^{n} + 2 \, \sqrt{b x^{n} + a} a + 2 \, a^{\frac{3}{2}}}{x^{n}}\right ) - 2 \,{\left (\sqrt{a} b x^{n} + 2 \, a^{\frac{3}{2}}\right )} \sqrt{b x^{n} + a}}{8 \, a^{\frac{3}{2}} n x^{2 \, n}}, -\frac{b^{2} x^{2 \, n} \arctan \left (\frac{a}{\sqrt{b x^{n} + a} \sqrt{-a}}\right ) +{\left (\sqrt{-a} b x^{n} + 2 \, \sqrt{-a} a\right )} \sqrt{b x^{n} + a}}{4 \, \sqrt{-a} a n x^{2 \, n}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1-2*n)*(a+b*x**n)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{b x^{n} + a} x^{-2 \, n - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="giac")
[Out]